package com.example.bysj_sb.domain;



import lombok.*;

import java.io.Serializable;
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public final class School implements Comparable<School>,Serializable{
	private Integer id;//对应着数据库表中的非业务主键 object id
	private String no;
	private String description;
	private String remarks;


	public School(String description, String no, String remarks) {
		super();
		this.description = description;
		this.no = no;
		this.remarks = remarks;
	}


	@Override
	public int compareTo(School o) {
		// TODO Auto-generated method stub
		return this.id - o.id;
	}	

	
}
